package com.example.cyk.model.enums;

public enum BoardEnum {

    LATEST (1, "最新"),
    ARTICLE (2, "文章"),
    POST (3, "帖子"),
    QUESTIONS_AND_ANSWERS (4, "问答"),
    RESOURCE (5, "资源"),
    CODE (6, "代码"),
    NOTE (7, "笔记"),
    JOB_SEARCH (8, "求职"),
    INTERVIEW (9, "面试"),
    IRRIGATION (10, "灌水");


    //板块 id
    private Integer id;
    //板块名字
    private String name;

    BoardEnum(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }
}
